import Vue from "vue";
import AppPrompt from "@/components/app-message-box/app-message-box.vue";

const Prompt=() => {
    let component = AppPrompt;
    const vm = new Vue({
        render(h) {
            return h(component);
        }
    }).$mount();
    document.body.appendChild(vm.$el);
    const comp:any = vm.$children[0];
    return comp;
}

export default Prompt;